/**
 * Created by jiangtao on 2017/7/12.
 */

import React from 'react';

import {
    Route,
    Switch,
    Router,
    Redirect
} from 'mirrorx';

import {
    LazyLoad
} from './../components';

const Home = LazyLoad(()=>import('./../views/index.js'));

const MusicList = LazyLoad(()=>import('./../views/musicList.js'));

export default (
    <Switch>
        <Route
            path="/"
            component={Home}
            exact
        />
        <Route
            path="/musicList/:id"
            component={MusicList}
        />
    </Switch>
);








